package pnu.ssm.appinfo;

public class Child {
	
	public static final String TAG = "Child";
	private String childName;
	private String childType;
	private String childNum;
	
	public Child(String childName, String childType, String childNum) {
		this.childName = childName;
		this.childType = childType;
		this.childNum = childNum;
	}
	
    public String getChildName() {
		return childName;
	}

	public void setChildName(String childName) {
		this.childName = childName;
	}

	public String getChildType() {
		return childType;
	}

	public void setChildType(String childType) {
		this.childType = childType;
	}
	
	public String getChildNum() {
		return childNum;
	}

	public void setChildNum(String childNum) {
		this.childNum = childNum;
	}
    
	@Override
	public int hashCode() {
		return (childName + childNum).hashCode();
	}
}

